import java.util.Comparator;

public class CompareNumber implements Comparator<Student> {
    @Override
    public int compare(Student n1,Student n2){
        return n1.getNumber().compareTo(n2.getNumber());
    }

}
